<template>
	<view>
		<u-navbar :title="title===null?'煋玥阁':title" @leftClick="goBack()" :bgColor="settings.navColor"
			:leftIconColor="settings.status" :titleStyle="tobobj">
		</u-navbar>
	</view>
</template>


<script>
	export default {
		props: ['title'],
		data() {
			return {
				bgcolor: '#d4d4d4',
				tobColor: '#2eacff',
				settings: uni.getStorageSync("settings"),
				tobobj: {
					color: uni.getStorageSync("settings").navFontColor
				}
			}
		},
		onLoad() {

		},
		methods: {
			goBack() {
				uni.navigateBack()
			},
		}
	}
</script>

<style>

</style>
